package lua.compiler;

import org.antlr.runtime.tree.Tree;

@SuppressWarnings("serial")
public class CompilerException extends Exception {
	private Tree tree;
	
	public CompilerException(Tree tree, String message) {
		super(message);
		this.tree = tree;
	}
	
	public Tree getTree() {
		return this.tree;
	}
}
